package com.springboot_blog.service;

import com.springboot_blog.dto.LoginDTO;
import com.springboot_blog.dto.RegisterDTO;
import com.springboot_blog.vo.LoginVO;
import com.springboot_blog.vo.RegisterVO;

/**
 * 认证服务接口
 */
public interface AuthService {
    /**
     * 用户登录
     */
    LoginVO login(LoginDTO loginDTO);


    /**
     * 用户注册
     */
    RegisterVO register(RegisterDTO registerDTO);
}
